package com.kly;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ImportResource({
        "classpath:spring-datasource.xml"
})
@ComponentScan(basePackages = {
        "com.kly",
        "com.fqgj.common"
})
@NacosPropertySource(dataId = "sc-relationship", autoRefreshed = true)
public class RelationshipApplication {
    public static void main(String[] args) {
        SpringApplication.run(RelationshipApplication.class);
    }
}
